package com.youdoneed.news.news.entity;

import java.io.Serializable;
import java.util.List;

import io.swagger.annotations.ApiModelProperty;

public class CmfNav implements Serializable {
	
	@ApiModelProperty("主键id")
    private Integer id;
	
	@ApiModelProperty("导航分类id")
	private Integer cid;
	
	@ApiModelProperty("对应栏目id")
	private Long tid;
	
	@ApiModelProperty("导航父id")
	private Integer parentid;
	
	@ApiModelProperty("导航标题")
	private String label;
	
	@ApiModelProperty("打开方式")
	private String target;
	
	@ApiModelProperty("导航链接(后台用)")
	private String href;
	
	@ApiModelProperty("导航图标")
	private String icon;
	
	@ApiModelProperty("状态，1显示，0不显示")
	private Integer status;
	
	@ApiModelProperty("排序")
	private Integer listorder;
	
	@ApiModelProperty("层级关系")
	private String path;
	
	@ApiModelProperty("子导航")
	private List<CmfNav> subNavs;
	

	public List<CmfNav> getSubNavs() {
		return subNavs;
	}

	public void setSubNavs(List<CmfNav> subNavs) {
		this.subNavs = subNavs;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getCid() {
		return cid;
	}

	public void setCid(Integer cid) {
		this.cid = cid;
	}

	public Long getTid() {
		return tid;
	}

	public void setTid(Long tid) {
		this.tid = tid;
	}

	public Integer getParentid() {
		return parentid;
	}

	public void setParentid(Integer parentid) {
		this.parentid = parentid;
	}

	public String getLabel() {
		return label;
	}

	public void setLabel(String label) {
		this.label = label;
	}

	public String getTarget() {
		return target;
	}

	public void setTarget(String target) {
		this.target = target;
	}

	public String getHref() {
		return href;
	}

	public void setHref(String href) {
		this.href = href;
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getListorder() {
		return listorder;
	}

	public void setListorder(Integer listorder) {
		this.listorder = listorder;
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}
}